package cn.neusoft.luofa603.yuejian_29.service;

import cn.neusoft.luofa603.yuejian_29.bean.UserLogin;
import cn.neusoft.luofa603.yuejian_29.bean.UserReg;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * Created by Administrator on 2017/10/18.
 */

public interface UserService {

    @GET("reg")
    Call<UserReg> Register(
            @Query("tel") String tel,
            @Query("password") String password);

    @GET("login")
    Call<UserLogin>Login(
            @Query("tel")String tel,
            @Query("password")String password
    );
}
